const getters = {
  accessToken: state => state.user.accessToken,
  refreshToken: state => state.user.refreshToken,
  userInfo: state => state.user.userInfo,
  hasLogin: state => !!state.user.accessToken,
  hasLoginAndHasMallInfo: state => state.user.accessToken !== undefined && state.user.userInfo.cardNo !== undefined,
  baseUrl: state => state.user.baseUrl
}
export default getters
